<h1>New estimate</h1>

<% remote_form_for :estimate, @estimate, 
            :url => { :action => "create", :id=>@estimate, :from_window => true} do |form| %>
  <%= streamlined_render :partial => 'form', :locals=>{:form=>form} %>
  <%= submit_tag "Create" %>
<% end %>

